@import "@/styles/__index.less";

.room-info {
  height: 100%;
  display: flex;
  flex-direction: column;

  .title-box {
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .title {
      width: 100%;
      margin-top: 4px;
      font-size: 16px;
      font-weight: bold;
      display: flex;
      align-items: center;

      &::before {
        content: "";
        display: inline-block;
        width: 5px;
        height: 16px;
        margin-right: 6px;
        background: linear-gradient(0deg, #579FFF 0%, #FFFFFF 100%);
        border-radius: 3px;
      }
    }

    .circleBox {
      display: flex;
      align-items: center;
      gap: 8px;

      .text {
        text-align: right;
        width: 60px;
      }
    }

    .circle {
      width: 20px;
      height: 20px;
      border: 2px solid white;
      border-radius: 99px;

      &[normal="true"] {
        background-color: #579FFF;
        border: none;
      }

      &[warn="true"] {
        background-color: #DAA363;
        border: none;
      }

      &[error="true"] {
        background-color: #9D1C1C;
        border: none;
      }
    }
  }

  .room-info-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;

    .wrap {
      padding: 6px 0px;
      color: #8CC1FB;
      border-bottom: 2px dashed #8BC1FC66;
      display: flex;
      justify-content: space-between;
      align-items: center;

      .title {
        font-weight: bold;
      }

      .value {
        display: flex;
        align-items: center;

        .main {
          .pmzd-blue;
          font-size: 24px;
        }

        .sub {
          color: white;
          margin-left: 10px;
        }
      }
    }
  }
}
